<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2017/12/3
  Time: 22:17
  To change this template use File | Settings | File Templates.
--%>
<%@page pageEncoding="UTF-8" %>
<!doctype html>
<html lang="zh-cmn">
<head>
    <meta http-equiv="Content-Type" content="multipart/form-data; charset=utf-8" />
    <title>Document</title>
    <%@include file="/WEB-INF/jsp/header.jsp"%>
    <style type="text/css">
        div{
            font-family: 微软雅黑;
            margin: 250px 450px;
        }
    </style>
</head>
<body>
    <div>
        <i class="layui-icon" style="color:green;"></i>修改密码成功,
        <span style="color: red;">3</span>秒后进入登录界面!
    </div>
<%@include file="/WEB-INF/jsp/footer.jsp"%>
</body>
<script type="text/javascript">
    setTimeout(function () {
        parent.location.reload();
    },3000);
    $(function () {
        var i = 2;
        var set = setInterval(function(){
            $("div>span").html(i);
            i-=1;
            if (i==0){
                clearInterval(set);
            }
        },1000);
    });
</script>
</html>
